<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
import { usePublicHeightStore } from '@/store'
const url = '/static'

const publicHeightStore = usePublicHeightStore();
onLaunch(() => {
  console.log('App Launch')
  // const { height, top } = uni.getMenuButtonBoundingClientRect();
  // publicHeightStore.setNavigatorHeight(height + top);
})
onShow(() => {
  console.log('App Show')
  console.log("当前环境", import.meta.env.VITE_APP_IMAGE_URL)

})
onHide(() => {
  console.log('App Hide')
})
</script>
<style lang="scss">
@import 'vk-uview-ui/index.scss';
page{
	box-sizing: border-box;
	height: 100%;
	// 适配兼容ios端底部小黑条
	padding-bottom: constant(safe-area-inset-bottom, 0px);//兼容 IOS<11.2
	padding-bottom: env(safe-area-inset-bottom, 0px);//兼容 IOS>11.2
}

</style>
